package com.jiang.doc.controller;

import com.jiang.doc.service.DocService;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;
import javax.servlet.http.HttpServletResponse;

@RestController
@RequestMapping("/resume")
public class ResumeController {

    @Resource
    private DocService docService;

    @GetMapping("/export")
    public void exportResume(HttpServletResponse response){
        docService.export(response);
    }
}
